VariationAxis

data class VariationAxis(val tag: String, val minValue: Float, val defaultValue: Float, val maxValue: Float)

A variation axis of a variable font, read from its fvar table.

Constructors

Link copied to clipboard
constructor(tag: String, minValue: Float, defaultValue: Float, maxValue: Float)

Properties

Link copied to clipboard

The value of the axis in the default instance of the font.

Link copied to clipboard

The largest value of the axis.

Link copied to clipboard

The smallest value of the axis.

Link copied to clipboard
val tag: String

The four-letter OpenType axis tag, such as wght, wdth or ital.